package org.wgc.study.job;

import org.springframework.batch.item.database.ItemPreparedStatementSetter;
import org.wgc.study.config.ReconciliationResult;
import org.wgc.study.vo.User;

import java.sql.PreparedStatement;
import java.sql.SQLException; /***
 *@title ReconciliationResultPreStatementSetter
 *@description <TODO description class purpose>
 *@author wgc_j
 *@version 1.0.0
 *@create 2025-08-08 12:58
 **/
public class ReconciliationResultPreStatementSetter implements ItemPreparedStatementSetter<ReconciliationResult> {
    @Override
    public void setValues(ReconciliationResult item, PreparedStatement ps) throws SQLException {
        ps.setString(1, item.getTransId());
        ps.setString(2, item.getErrorType());
        ps.setString(3, item.getDetail());

    }
}
